<?php
if (isset ( $_GET ['exit'] )) { // 安全退出
	session_start ();
	session_unset ();
	session_destroy ();
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="zh-CN" />
<link href="./PersonalPhoto/Images/web_title.ico" rel="icon"
	type="image/x-icon" />
<title>找对象，上友缘</title>
<link href="./indexResource/Style/index.css" rel="stylesheet"
	type="text/css" />
</head>
<body>
<?php
$errno = "";
if (isset ( $_GET ['errno'] )) {
	$errno = $_GET ['errno'];
	if ($errno == "1") {
		$errno = "*已经存在该用户！！";
	} else if ($errno == "2") {
		$errno = "*发生未知错误！！";
	} else if ($errno == "3") {
		$errno = "*验证码错误！！";
	} else if ($errno == "4") {
		$errno = "*用户名或密码错误！！";
	}
}
?>
	<div class="yy_header">
		<!-- 导航栏框架 -->
		<div class="yy_nav">
			<span class="logo" title="找对象，上友缘网！"
				style="background-image: url('./PersonalPhoto/Images/logo.png');"><a
				href="#"></a></span>
			<ul>
				<li><a class="a_01 a_out" href="#"><span
						style="background-image: url('./PersonalPhoto/Images/Index.png');"></span>首页</a></li>
				<li><a class="a_01" href="./Space/SpaceIndex.php"><span
						style="background-image: url('./PersonalPhoto/Images/Space.png');"></span>空间</a></li>
				<li><a class="a_01" href="./SearchMargin/SearchMarginIndex.php"><span
						style="background-image: url('./PersonalPhoto/Images/Search.png');"></span>搜缘</a></li>
				<li><a class="a_01" href="./Serve/ServeIndex.php"><span
						style="background-image: url('./PersonalPhoto/Images/Serve.png');">
					</span>服务</a></li>
				<li><a class="a_01" href="./Mailbox/MailboxIndex.php"><span
						style="background-image: url('./PersonalPhoto/Images/Mailbox.png');"></span>信箱</a></li>
			</ul>
		</div>
	</div>
	<!-- 主展示图片banner -->
	<div id="play">
		<div id="ad" class="packet">
			<ol>
				<li class="" style="background-color: #fff;"></li>
				<li class="" style="background-color: #fff;"></li>
				<li class="active" style="background-color: #fff;"></li>
			</ol>
			<ul>
				<li style="opacity: 0; z-index: 0;"><img
					src="./indexResource/Images/adBig1.jpg" alt="找对象，上友缘网！" /></li>
				<li style="z-index: 0; opacity: 0;"><img
					src="./indexResource/Images/adBig2.jpg" alt="找对象，上友缘网！" /></li>
				<li style="z-index: 10; opacity: 1;"><img
					src="./indexResource/Images/adBig3.jpg" alt="找对象，上友缘网！" /></li>
			</ul>
		</div>
		<!-- 注册登录界面 -->
		<div class="yy_login">
			<div class="yy_ligon_info">
				<!--快速登录注册 start-->
				<div class="yy_enroll" id="yy_enroll">
					<ul>
						<li class="">免费注册</li>
						<li class="a_out">快速登录</li>
					</ul>
					<ol style="display: none;">
						<li><label>注册方式：</label> <span class="mail"> <input value="mail"
								name="choseType" checked="ckecked" type="radio" id="ml" /> <label
								for="ml">邮箱注册</label></span><span class="tel"> <input
								name="choseType" value="tel" id="tele" type="radio" /> <label
								for="tele">手机注册</label></span></li>
						<li><label id="lbl_username">注册邮箱：</label> <input class="inpt"
							id="phoneNum" type="text" value="请输入正确的手机号/邮箱" /></li>
						<li><label>设置密码：</label> <input class="inpt" type="text"
							name="password" value="请填写3-10位数字或字母" title="请填写3-10位数字或字母"
							id="password" /></li>
						<li><label>注册姓名：</label> <input class="inpt" type="text"
							name="nickname" value="请填写姓名！" title="请填写姓名！" id="nickname" /></li>
						<li id="choseSex"><label>我&nbsp;&nbsp;&nbsp;&nbsp;是：</label> <span
							class="sex" id="sex_0"> <input type="radio" name="sex" value="0" />
								<label for="sex_0">帅哥</label></span><span class="sex" id="sex_1">
								<input type="radio" name="sex" value="1" /> <label for="sex_1">美女</label>
						</span><font style="display: none;" class="sexMsg">*性别注册后不可修改</font></li>
						<li><label>年&nbsp;&nbsp;&nbsp;&nbsp;龄：</label> <select
							id="choseAge">
								<option class="selectItem" value="18" selected="true">18岁</option>
							<?php for($i=19;$i<50;$i++){?>
								<option class="selectItem" value="<?php echo $i;?>"><?php echo $i;?>岁</option>
								<?php }?>
						</select></li>
						<?php
						if ($errno == "") {
							echo "<li class='wrong' id='errorMsg' style='display: none;'>*请输入正确的手机号格式</li>";
						} else {
							echo "<li class='wrong' id='errorMsg' style='display: block;'>" . $errno . "</li>";
						}
						?>
						<li class="ljzc"><a href="#" data_err="false" id="registerSubmit"
							title="立即注册">确认注册</a></li>
						<li class="qq_login"><a href="#" class="home_icon wb"></a><a
							href="#" class="home_icon qq"></a></li>
					</ol>
					<ol class="zjdl" style="display: block;">
						<li><label>登录帐号：</label> <input id="loginUserId" maxlength="50"
							class="inpt" type="text" value="请输入正确的手机号/邮箱" /></li>
						<li><label>登录密码：</label> <input id="loginPassText" class="inpt"
							title="登陆密码" type="text" value="登录密码" /> <input
							style="display: none" id="loginPass" title="登录密码" class="inpt"
							type="password" /></li>
						<li><label>验证码：</label> <input id="loginCAPTCHA" maxlength="5"
							class="inpt2" type="text" value="请输入验证码" /> <img
							src="./tools/checkCode.php"
							onclick="this.src='./tools/checkCode.php?a='+Math.random()" /></li>
							<?php
							if ($errno == "") {
								echo "<li class='wrong' id='loginMsg' style='display: none;'>*请输入正确的用户名或密码</li>";
							} else {
								echo "<li class='wrong' id='loginMsg' style='display: block;'>" . $errno . "</li>";
							}
							?>
						<li class="dlzh"><a href="#" data_err="false" id="loginSubmit">立即登录
								遇见有缘人</a></li>
						<li class="remember"><input id="savePass" type="checkbox" /> <em>记住密码（公共场所慎用）</em><a
							id="findPassA" href="#">忘记密码？</a></li>
						<div style="display: none" id="findPassDiv_s" class="think">请用你验证的手机号编辑短信“有缘网”发送到12114找回密码</div>
					</ol>
				</div>
				<form name="registerForm" id="registerForm"
					action="./indexAuxiliary/login.php" method="post">
					<input type="hidden" name="form_submit" id="form_submit" value="" />
					<input type="hidden" name="birthday" id="age" value="" /> <input
						type="hidden" name="sex" id="sex" value="" /> <input type="hidden"
						name="nickname" id="username" value="" /> <input type="hidden"
						name="password" id="ps" value="" /> <input type="hidden"
						name="phoneNum" id="userid" value="" /> <input type="hidden"
						name="loginCAPTCHA" id="loginCAPTCHA2" value="" />

				</form>
				<input type="hidden" id="type" value="mail" />
				<!--快速登录注册 end-->
				<!--用户登录状态 start-->
				<!--用户登录状态 end-->
			</div>
		</div>
		<!--用户登陆end-->
	</div>
	<!--焦点图 三按钮 end-->
	<!--[if lte IE 7]><div></div><![endif]-->
	<div class="yy_list">
		<b>VIP会员推荐</b>
		<ul class="refer">
			<li class="li_01"><a href="#"><img
					src="./indexResource/Images/xufeng2.jpg" width="327" height="324" />
					<div class="show_box">
						<font>成功案例 许峰 && 徐小燕 一起散步，慢慢到老···</font>
					</div></a></li>
			<li class="li_02">
				<div class="box">
					<a href="#"><img src="./indexResource/Images/liuyu.jpg" width="324"
						height="161" />
						<div class="show_box2_01">
							<font>成功案例 刘玉 && 王雅茹 安徽 执子之手，与子偕老···</font>
						</div></a> <a href="#"><img
						src="./indexResource/Images/xujinming.png" width="324"
						height="160" />
						<div class="show_box2_02">
							<font>成功案例 徐进明 && 童艳娟 安徽 今天你要嫁给我···</font>
						</div></a>
				</div>
			</li>
			<li class="li_03">
				<div class="box">
					<a href="#"><img src="./indexResource/Images/lizhu.jpg" width="160"
						height="160" />
						<div class="show_box3_01">
							<font>李柱 21岁 安徽 单身</font>
						</div></a><a href="#"><img
						src="./indexResource/Images/xuandongdong.jpg" width="160"
						height="161" />
						<div class="show_box3_02">
							<font>宣东东 20岁 安徽 单身</font>
						</div></a>
				</div>
			</li>
			<li class="li_04">
				<div class="box">
					<a href="#"><img src="./indexResource/Images/zhawenbin.jpg"
						width="160" height="160" />
						<div class="show_box4_02" style="margin-bottom: 164px;">
							<font>查文彬 21岁 安徽 单身</font>
						</div></a><span class="last"><a href="#"><img
							src="./indexResource/Images/liudong.jpg" width="160" height="160" />
							<div class="show_box4_02">
								<font>刘东 21岁 安徽 单身</font>
							</div></a></span>
				</div>
			</li>
		</ul>
	</div>
	<script src="./indexResource/Style/jquery.min.yy.js"
		type="text/javascript"></script>
	<script src="./indexResource/Style/main.yy.js" type="text/javascript"></script>
	<script src="./indexResource/Style/move.yy.js" type="text/javascript"></script>
	<!-- Start Alexa Certify Javascript -->

</body>
</html>